package com.lu.log.printer

import android.content.Context
import com.android.girish.vlog.Vlog
import com.lu.log.ILogPrinter

class VLogPrinter(context: Context) : ILogPrinter {

    private val vlog = Vlog.getInstance(context)

    override fun d(tag: String, message: String) {
        vlog.d(tag, message)
    }

    override fun i(tag: String, message: String) {
        vlog.i(tag, message)
    }

    override fun w(tag: String, message: String, error: Throwable?) {
        vlog.w(tag, message)
    }

    override fun e(tag: String, message: String, error: Throwable?) {
        vlog.e(tag, message)
    }
}